package com.scs.application.modules.fsd.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 */
@Data
public class SaveRoleDTO {
    @NotBlank(message = "权限键名不能为空")
    private String roleKey;
    @NotBlank(message = "权限名称不能为空")
    private String roleName;
    private String remark;
    private String id;

    public SaveRoleDTO(String roleKey, String roleName, String remark, String id) {
        this.roleKey = roleKey;
        this.roleName = roleName;
        this.remark = remark;
        this.id = id;
    }
}
